/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.businessrecord;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.dao.businessrecord.TBusinessRecordDao;
import com.server.modules.sys.entity.businessrecord.TBusinessRecord;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 商务人员谈单记录表Service
 * @author 金
 * @version 2017-04-18
 */
@Service
@Transactional(readOnly = true)
public class TBusinessRecordService extends CrudService<TBusinessRecordDao, TBusinessRecord> {

	public TBusinessRecord get(String id) {
		return super.get(id);
	}
	
	public List<TBusinessRecord> findList(TBusinessRecord tBusinessRecord) {
		return super.findList(tBusinessRecord);
	}
	
	public Page<TBusinessRecord> findPage(Page<TBusinessRecord> page, TBusinessRecord tBusinessRecord) {
		return super.findPage(page, tBusinessRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(TBusinessRecord tBusinessRecord) {
		super.save(tBusinessRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(TBusinessRecord tBusinessRecord) {
		super.delete(tBusinessRecord);
	}
	public  String checkMd5(String md5){ return dao.checkMd5(md5);}


}